Graceful Degradation for Top-Down Join Enumeration via similar sub-queries measure on Chip Multi-Processor
نویسندگان
چکیده
Most contemporary database systems query optimizers exploit System-R’s dynamic programming method (DP) to find the optimal query execution plan (QEP) without evaluating redundant sub-plans. However, in the relational database setting today, large queries containing many joins are becoming increasingly common. Based on this trend, it has become temping to improve the DP performance. Chip Multi-Processor (CMP) present new opportunities for improving database performance on large queries. Based on CMP, this paper realizes the partial execution plans among the identified similar sub-queries and global execution plan among the constructed connected join pairs according to the generated partial solutions by uniform parallelizing top-down dynamic programming query optimization. Our theoretical results and empirical evaluation show that our algorithm could gracefully degrade the complexity degree for top-down join enumeration with large number of tables and impressive gains in the performance in terms of both output quality and running time.
منابع مشابه
Optimization Strategy of Top-Down Join Enumeration on Modern Multi-Core CPUs
Most contemporary database systems query optimizers exploit System-R’s bottom-up dynamic programming method (DP) to find the optimal query execution plan (QEP) without evaluating redundant subplans. The distinguished exceptions are Volcano/Cascades using transforms to generate new plans according to a topdown approach. As recent research has revealed, bottom-up dynamic programming can improve p...
متن کاملCounter Strike: Generic Top-Down Join Enumeration for Hypergraphs
Finding the optimal execution order of join operations is a crucial task of today’s cost-based query optimizers. There are two approaches to identify the best plan: bottom-up and top-down join enumeration. But only the top-down approach allows for branchand-bound pruning, which can improve compile time by several orders of magnitude while still preserving optimality. For both optimization strat...
متن کاملOptimization of Parallel Execution for Multi-Join Queries
In this paper, we study the subject of exploiting inter-operator parallelism to optimize the execution of multi-join queries. Speciically, we focus on two major issues: (i) scheduling the execution sequence of multiple joins within a query, and (ii) determining the number of processors to be allocated for the execution of each join operation obtained in (i). For the rst issue, we propose and ev...
متن کاملParallelizing query optimization
Many commercial RDBMSs employ cost-based query optimization exploiting dynamic programming (DP) to efficiently generate the optimal query execution plan. However, optimization time increases rapidly for queries joining more than 10 tables. Randomized or heuristic search algorithms reduce query optimization time for large join queries by considering fewer plans, sacrificing plan optimality. Thou...
متن کاملPtimimation of F Ulti-join Ri
In this paper, we study the subject of exploiting interoperator parallelism to optimize the execution of multi-join queries. Specifically, we focus on two major issues: 1) scheduling the execution sequence of multiple joins within a query, and 2) determining the number of processors to be allocated for the execution of each join operation obtained in 1). For the first issue, we propose and eval...
متن کامل